import request from '@/utils/request'

// 查询住院费用记录表列表 (分页)
export function selectPageInpBillDetailLog(query) {
    return request({
        url: '/business/inpBillDetailLog/selectPage',
        method: 'get',
        params: query
    })
}

// 查询住院费用记录表列表 (不分页)
export function listInpBillDetailLog(query) {
    return request({
        url: '/business/inpBillDetailLog/list',
        method: 'get',
        params: query
    })
}

// 查询住院费用记录表详细
export function getInpBillDetailLog(inpBillDetailLogId) {
    return request({
        url: '/business/inpBillDetailLog/' + inpBillDetailLogId,
        method: 'get'
    })
}

// 新增住院费用记录表
export function addInpBillDetailLog(data) {
    return request({
        url: '/business/inpBillDetailLog',
        method: 'post',
        data: data
    })
}

// 修改住院费用记录表
export function updateInpBillDetailLog(data) {
    return request({
        url: '/business/inpBillDetailLog',
        method: 'put',
        data: data
    })
}

// 删除住院费用记录表
export function delInpBillDetailLog(inpBillDetailLogId) {
    return request({
        url: '/business/inpBillDetailLog/' + inpBillDetailLogId,
        method: 'delete'
    })
}
